package com.southpark.demo.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.southpark.system.interfaces.managers.IApplicationManager;
	

	public class ApplicationController extends FrontController
	{
		
		public function ApplicationController(applicationManager:IApplicationManager)
		{
			super();
			
			for each (var item:Array in applicationManager.commandMap)
			{
				addCommand(item[0],item[1]);
			};
		}
		
	}
}